#docker login -u sunwc --password-stdin @Sunwanchao*  10.101.7.108:80/szhems_demo_prod/

#echo "@Sunwanchao*" | docker login -u sunwc --password-stdin szharbor.hithium.cn:80/szhems_demo_prod/
#echo "@Sunwanchao*" | docker login -u sunwc --password-stdin 10.101.7.108:80/szhems_demo_prod/
#echo "Harbor12345" | docker login -u admin --password-stdin 172.24.73.32:443
#docker login -u admin -p hcadmin 172.24.73.31:5000
#docker login -u admin -p hcadmin 124.222.79.188:5000
echo "Aa123456" | docker login ccr.ccs.tencentyun.com --username=100037282021 --password-stdin
echo "zhm3300223" | sudo docker login --username=t_1515331676236_0502 crpi-q677pr6h1jtfou8q.cn-shenzhen.personal.cr.aliyuncs.com --password-stdin


repository="ccr.ccs.tencentyun.com/tsf_100002806844/test-react"
#repository="crpi-q677pr6h1jtfou8q.cn-shenzhen.personal.cr.aliyuncs.com/zhm-iot/test-react"

tag="v1.0.2"


image="${repository}:${tag}"

docker build -t ${image} ..

docker push ${image}

